
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ia_project;

import com.trolltech.qt.gui.QApplication;
import com.trolltech.qt.gui.QColor;
import com.trolltech.qt.gui.QPixmap;
import com.trolltech.qt.gui.QSplashScreen;

/**
 *
 * @author JeanW
 */
public class IA_project {

    
    public static void main(String[] args) throws InterruptedException {
        
        QApplication.initialize(args);
        
        QPixmap pix = new QPixmap("./img/splashScreen.png");
        QSplashScreen screen = new QSplashScreen(pix);
        screen.show();
        screen.showMessage("Initialisation de la fenêtre ...", 120, QColor.white);
        MainWindow myWin = new MainWindow();
        Thread.currentThread().sleep(2000);
        myWin.show();
        screen.close();
        
        
        QApplication.exec();
    }
}
